<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改小区管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-district-edit" th:object="${djbDistrict}">
            <input name="id" th:field="*{id}" type="hidden">
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label is-required">：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="name" th:field="*{name}" class="form-control" type="text" required>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="address" th:field="*{address}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="coverUrl" th:field="*{coverUrl}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">小区名称：</label>
                <div class="col-sm-8">
<!--                    <input name="mobile" th:field="*{name}" class="form-control" type="text">-->
                    <p th:text="*{name}" style="margin-top: 10px"></p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">小区地址：</label>
                <div class="col-sm-8">
                    <!--                    <input name="mobile" th:field="*{name}" class="form-control" type="text">-->
                    <p th:text="*{address}" style="margin-top: 10px"></p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">物业电话：</label>
                <div class="col-sm-8">
                    <!--                    <input name="mobile" th:field="*{name}" class="form-control" type="text">-->
                    <p th:text="*{mobile}" style="margin-top: 10px"></p>
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">0 待审核 1通过 2拒绝：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <div class="radio-box">-->
<!--                        <input type="radio" name="status" value="">-->
<!--                        <label th:for="status" th:text="未知"></label>-->
<!--                    </div>-->
<!--                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">
                <label class="col-sm-3 control-label">访客须知：</label>
                <div class="col-sm-8">
                    <!--                    <p th:text="*{reason}" style="margin-top: 10px"></p>-->
                    <p th:text="*{notice}" style="margin-top: 10px"></p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">管理员姓名：</label>
                <div class="col-sm-8">
                    <p th:text="*{adminName}" style="margin-top: 10px"></p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">管理员电话：</label>
                <div class="col-sm-8">
                    <!--                    <p th:text="*{reason}" style="margin-top: 10px"></p>-->
                    <p th:text="*{adminPhone}" style="margin-top: 10px"></p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">员工数：</label>
                <div class="col-sm-8">
                    <!--                    <p th:text="*{reason}" style="margin-top: 10px"></p>-->
                    <p th:text="*{yuangongNum}" style="margin-top: 10px">无参数</p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">楼座数：</label>
                <div class="col-sm-8">
                    <p th:text="*{buildNum}" style="margin-top: 10px">无参数</p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">门岗数：</label>
                <div class="col-sm-8">
                    <p th:text="*{gateNum}" style="margin-top: 10px">无参数</p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">创建时间：</label>
                <div class="col-sm-8">
                    <p th:text="*{createTime}" style="margin-top: 10px">无参数</p>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">小区ID：</label>
                <div class="col-sm-8">
                    <p th:text="*{id}" style="margin-top: 10px"></p>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "djb/district";
        $("#form-district-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.modal.close();
            }
        }
    </script>
</body>
</html>